package com.example.yoga.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liwenkai
 * @since 2021-02-05
 */
@TableName("course_mv")
public class CourseMv extends Model<CourseMv> {

    private static final long serialVersionUID = 1L;

    /**
     * 课程表Id
     */
    @TableId("courseId")
    private Integer courseid;

    /**
     * 视频表Id
     */
    @TableField("mvId")
    private Integer mvid;


    public Integer getCourseid() {
        return courseid;
    }

    public void setCourseid(Integer courseid) {
        this.courseid = courseid;
    }

    public Integer getMvid() {
        return mvid;
    }

    public void setMvid(Integer mvid) {
        this.mvid = mvid;
    }

    @Override
    protected Serializable pkVal() {
        return this.courseid;
    }

    @Override
    public String toString() {
        return "CourseMv{" +
        "courseid=" + courseid +
        ", mvid=" + mvid +
        "}";
    }
}
